<template>
  <div class="recommand-item">
    <div class="top">
      <div class="top-left">
        <slot name="left">
          <p class="left-top">推荐歌单</p>
          <p class="left-bottom">为你精挑细选</p>
        </slot>
      </div>
      <div class="top-right" @click="loadMore">
        <p>查看更多</p>
      </div>
    </div>
    <div class="bottom">
      <slot name="bottom">

      </slot>
    </div>
  </div>
</template>

<script>
    export default {
        name: "RecommandItem",
        methods:{
            loadMore(){
                console.log('点击了加载更多')
            },
        }
    }
</script>

<style scoped>
  .top{
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    margin: 0px 10px;
  }

  .top-right{
    width: 60px;
    line-height: 15px;
    border: 0.4px solid #909090;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px;
    margin-top: 17px;
    text-align: center;

  }


</style>